package com.dap.exception;

public class FileNotFoundException extends RuntimeException {
    private static final long serialVersionUID = -1191204141951431632L;

    private String filename;


    public FileNotFoundException(String filename) {
        super(String.format("找不到文件[%s]", filename));
        this.filename = filename;
    }


    @Override
    public String toString() {
        return String.format("%s: 找不到文件[%s]", getClass().getName(), filename);
    }
}
